call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86

mkdir MyBuild

resgen MainForm.resx MyBuild\hse_2013_272_lines.MainForm.resources
cd Properties
resgen Resources.resx ..\MyBuild\hse_2013_272_lines.Properties.Resources.resources

cd..
csc -t:winexe -res:MyBuild\hse_2013_272_lines.Properties.Resources.resources -res:MyBuild\hse_2013_272_lines.MainForm.resources -out:MyBuild\Program.exe *.cs Properties\*.cs

pause